// src/database/mysql/mysql.service.ts
import { Injectable } from '@nestjs/common';
import { InjectRepository } from '@nestjs/typeorm';
import { Repository } from 'typeorm';
import { Cat } from './entity/cat.entity';
import { Dog } from './entity/dog.entity';

@Injectable()
export class MysqlService {
  @InjectRepository(Cat)
  public readonly catRepository: Repository<Cat>;
  @InjectRepository(Dog)
  public readonly dogRepository: Repository<Dog>;
}
